<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'accessories-form',
	'enableAjaxValidation'=>false,
)); ?>
<input type="hidden" id="model-name" value="Accessories"/>
	<?php //echo $form->errorSummary($model); ?>

    <table id="Accessories-basic-info" class="form-view">
            <tr class="odd">
                <th><?php echo $form->labelEx($model,'parts_id'); ?></th>
                <td>
                    <?php echo $form->textField($model,'parts_id'); ?>
                    <?php echo $form->error($model,'parts_id'); ?>
                </td>
            </tr>
            <tr class="even">
                <th><?php echo $form->labelEx($model,'name'); ?></th>
                <td>
                    <?php echo $form->textField($model,'name',array('size'=>60,'maxlength'=>255)); ?>
                    <?php echo $form->error($model,'name'); ?>
                </td>
            </tr>
            <tr class="odd">
                <th><?php echo $form->labelEx($model,'url'); ?></th>
                <td>
                    <?php echo $form->textField($model,'url',array('size'=>60,'maxlength'=>255)); ?>
                    <?php echo $form->error($model,'url'); ?>
                </td>
            </tr>
            <tr class="even">
                <th><?php echo $form->labelEx($model,'is_hot'); ?></th>
                <td>
                    <?php echo $form->textField($model,'is_hot'); ?>
                    <?php echo $form->error($model,'is_hot'); ?>
                </td>
            </tr>
            <tr class="odd">
                <th><?php echo $form->labelEx($model,'hits'); ?></th>
                <td>
                    <?php echo $form->textField($model,'hits'); ?>
                    <?php echo $form->error($model,'hits'); ?>
                </td>
            </tr>
            <tr class="even">
                <th><?php echo $form->labelEx($model,'content'); ?></th>
                <td>
                    <?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50)); ?>
                    <?php echo $form->error($model,'content'); ?>
                </td>
            </tr>
            <tr class="odd">
                <th><?php echo $form->labelEx($model,'sorder'); ?></th>
                <td>
                    <?php echo $form->textField($model,'sorder'); ?>
                    <?php echo $form->error($model,'sorder'); ?>
                </td>
            </tr>
            <tr class="even">
                <th><?php echo $form->labelEx($model,'status'); ?></th>
                <td>
                    <?php echo $form->textField($model,'status'); ?>
                    <?php echo $form->error($model,'status'); ?>
                </td>
            </tr>
    </table>
    <input type="submit" style="display:none"/>
<?php $this->endWidget(); ?>

</div><!-- form -->